package com.aynu.gulimall.member.feign;

import com.aynu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author mj
 * @version 1.0
 * @date 2021/4/11 22:57
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    /**
     * 分页查询当前登陆用户的订单列表
     */
    @RequestMapping("/order/order/listWithItem")
    public R listWithItem(@RequestBody Map<String, Object> params);
}
